package oop.ex2.objects;

public class Variable {
    private String name;
    private String type;
    private String value;
    private boolean isField;
    private boolean isArgument;
    
    public Variable(String type, String name, String value,boolean isField, boolean isArgument) {
        this.setName(name);
        this.setType(type);
        this.setValue(value);
        this.setField(isField);
        this.setArgument(isArgument);
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public boolean isField() {
        return isField;
    }

    public void setField(boolean isField) {
        this.isField = isField;
    }

    public boolean isArgument() {
        return isArgument;
    }

    public void setArgument(boolean isArgument) {
        this.isArgument = isArgument;
    }
}
